/**
 * @Date: Feb 26, 2010 1:46:13 PM
 */
package com.philip.journal.core.dao;

/**
 * This class appears to contain hibernate specific attributes. This also contains application specific
 * entries.
 *
 * @author cry30
 */
public final class DaoConstant {

    /** Utility class. */
    private DaoConstant() {}

    /** Hibernate specific method name for listing matched entities. */
    public static final String LIST = "list";

    /** Hibernate specific method name for getting exact match. */
    public static final String UNIQUE = "uniqueResult";


    /**
     * Hibernate named query IDs.
     */
    public static class NamedQuery {

        /** RTFC. */
        public static final String BYUSERNAME = "user.userByUsername";
    }

    /** Represents branch table. */
    public static class Branch {

        /** Contains column constants for the Branch table. */
        public static class Column {

            /** RTFC. */
            public static final String BRANCH_ID = "BRANCH_ID";
            /** RTFC. */
            public static final String NAME = "NAME";
            /** RTFC. */
            public static final String PARENT_ID = "PARENT_ID";
            /** RTFC. */
            public static final String CREATE_ID = "CREATE_ID";
            /** RTFC. */
            public static final String UPDATE_ID = "UPDATE_ID";
            /** RTFC. */
            public static final String CREATE_DATE = "CREATE_DATE";
            /** RTFC. */
            public static final String CREATE_TIME = "CREATE_TIME";
            /** RTFC. */
            public static final String UPDATE_DATE = "UPDATE_DATE";
            /** RTFC. */
            public static final String UPDATE_TIME = "UPDATE_TIME";
        }
    }
}
